package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 教学计划-课程-环节中间表
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
@Data
@Accessors(chain = true)
@TableName("plan_teaching_course")
@EqualsAndHashCode(of = {"taskId", "baseTeachingPlanId", "baseCourseId", "flag"})
@ApiModel(value = "PlanTeachingCourse对象", description = "教学计划-课程-环节中间表")
public class PlanTeachingCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer taskId;

    private String baseTeachingPlanId;

    private String baseCourseId;

    @ApiModelProperty("1课程  2环节")
    private Integer flag;

    @ApiModelProperty("教学班是否设置   0、未设置  1、已设置")
    private Integer teachingSet;
}
